home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / code / r3mpbump.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  4.2 KB  |  167 lines

  1.  
  2. // JavaScript wrapper for r3mpbump.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_MPBUMP_H = 1;
  7. include("real/code/r3mpbitm.js")
  8.  
  9.  
  10. var R3CLID_MPBUMP = 367;
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. R3MPBA_FlipX = 367500;
  19. function SetR3MPBA_FlipX(value) {
  20.   R3Set(this.r3obj, R3MPBA_FlipX, value, R3TID_INTEGER, 0); 
  21. }
  22.  
  23. function GetR3MPBA_FlipX() {
  24.   return R3Get(this.r3obj, R3MPBA_FlipX, R3TID_INTEGER, 0); 
  25. }
  26.  
  27. R3MPBA_FlipY = 367501;
  28. function SetR3MPBA_FlipY(value) {
  29.   R3Set(this.r3obj, R3MPBA_FlipY, value, R3TID_INTEGER, 0); 
  30. }
  31.  
  32. function GetR3MPBA_FlipY() {
  33.   return R3Get(this.r3obj, R3MPBA_FlipY, R3TID_INTEGER, 0); 
  34. }
  35.  
  36. R3MPBA_TileX = 367502;
  37. function SetR3MPBA_TileX(value) {
  38.   R3Set(this.r3obj, R3MPBA_TileX, value, R3TID_INTEGER, 0); 
  39. }
  40.  
  41. function GetR3MPBA_TileX() {
  42.   return R3Get(this.r3obj, R3MPBA_TileX, R3TID_INTEGER, 0); 
  43. }
  44.  
  45. R3MPBA_TileY = 367503;
  46. function SetR3MPBA_TileY(value) {
  47.   R3Set(this.r3obj, R3MPBA_TileY, value, R3TID_INTEGER, 0); 
  48. }
  49.  
  50. function GetR3MPBA_TileY() {
  51.   return R3Get(this.r3obj, R3MPBA_TileY, R3TID_INTEGER, 0); 
  52. }
  53.  
  54. R3MPBA_Height = 367504;
  55. function SetR3MPBA_Height(value) {
  56.   R3Set(this.r3obj, R3MPBA_Height, value, R3TID_FLOAT, 0); 
  57. }
  58.  
  59. function GetR3MPBA_Height() {
  60.   return R3Get(this.r3obj, R3MPBA_Height, R3TID_FLOAT, 0); 
  61. }
  62.  
  63. R3MPBA_Interpolation = 367505;
  64. function SetR3MPBA_Interpolation(value) {
  65.   R3Set(this.r3obj, R3MPBA_Interpolation, value, R3TID_INTEGER, 0); 
  66. }
  67.  
  68. function GetR3MPBA_Interpolation() {
  69.   return R3Get(this.r3obj, R3MPBA_Interpolation, R3TID_INTEGER, 0); 
  70. }
  71.  
  72. R3MPBA_Channel = 367506;
  73. function SetR3MPBA_Channel(value) {
  74.   R3Set(this.r3obj, R3MPBA_Channel, value, R3TID_STRING, 0); 
  75. }
  76.  
  77. function GetR3MPBA_Channel() {
  78.   return R3Get(this.r3obj, R3MPBA_Channel, R3TID_STRING, 0); 
  79. }
  80.  
  81. R3MPBA_SubChannel = 367507;
  82. function SetR3MPBA_SubChannel(value) {
  83.   R3Set(this.r3obj, R3MPBA_SubChannel, value, R3TID_STRING, 0); 
  84. }
  85.  
  86. function GetR3MPBA_SubChannel() {
  87.   return R3Get(this.r3obj, R3MPBA_SubChannel, R3TID_STRING, 0); 
  88. }
  89.  
  90. R3MPBA_ComputeHeight = 367508;
  91. function SetR3MPBA_ComputeHeight(value) {
  92.   R3Set(this.r3obj, R3MPBA_ComputeHeight, value, R3TID_INTEGER, 0); 
  93. }
  94.  
  95. function GetR3MPBA_ComputeHeight() {
  96.   return R3Get(this.r3obj, R3MPBA_ComputeHeight, R3TID_INTEGER, 0); 
  97. }
  98.  
  99. R3MPBA_BleedX = 367509;
  100. function SetR3MPBA_BleedX(value) {
  101.   R3Set(this.r3obj, R3MPBA_BleedX, value, R3TID_INTEGER, 0); 
  102. }
  103.  
  104. function GetR3MPBA_BleedX() {
  105.   return R3Get(this.r3obj, R3MPBA_BleedX, R3TID_INTEGER, 0); 
  106. }
  107.  
  108. R3MPBA_BleedY = 367510;
  109. function SetR3MPBA_BleedY(value) {
  110.   R3Set(this.r3obj, R3MPBA_BleedY, value, R3TID_INTEGER, 0); 
  111. }
  112.  
  113. function GetR3MPBA_BleedY() {
  114.   return R3Get(this.r3obj, R3MPBA_BleedY, R3TID_INTEGER, 0); 
  115. }
  116.  
  117. R3MPBA_SmoothRadius = 367511;
  118. function SetR3MPBA_SmoothRadius(value) {
  119.   R3Set(this.r3obj, R3MPBA_SmoothRadius, value, R3TID_FLOAT, 0); 
  120. }
  121.  
  122. function GetR3MPBA_SmoothRadius() {
  123.   return R3Get(this.r3obj, R3MPBA_SmoothRadius, R3TID_FLOAT, 0); 
  124. }
  125.  
  126. var R3MPI_LINEAR = 0;
  127. var R3MPI_BILINEAR = 1;
  128. var R3MPI_QUADRIC = 2;
  129. var R3MPI_CUBIC = 3;
  130.  
  131.  
  132. function r3Mpbump () { 
  133.    this.base = r3God;
  134.    if(arguments.length) {
  135.       this.base(R3CLID_MPBUMP, arguments);
  136.    }
  137.    // Methods
  138.  
  139.    // Attributes
  140.    this.GetFlipX=GetR3MPBA_FlipX;
  141.    this.SetFlipX=SetR3MPBA_FlipX;
  142.    this.GetFlipY=GetR3MPBA_FlipY;
  143.    this.SetFlipY=SetR3MPBA_FlipY;
  144.    this.GetTileX=GetR3MPBA_TileX;
  145.    this.SetTileX=SetR3MPBA_TileX;
  146.    this.GetTileY=GetR3MPBA_TileY;
  147.    this.SetTileY=SetR3MPBA_TileY;
  148.    this.GetHeight=GetR3MPBA_Height;
  149.    this.SetHeight=SetR3MPBA_Height;
  150.    this.GetInterpolation=GetR3MPBA_Interpolation;
  151.    this.SetInterpolation=SetR3MPBA_Interpolation;
  152.    this.GetChannel=GetR3MPBA_Channel;
  153.    this.SetChannel=SetR3MPBA_Channel;
  154.    this.GetSubChannel=GetR3MPBA_SubChannel;
  155.    this.SetSubChannel=SetR3MPBA_SubChannel;
  156.    this.GetComputeHeight=GetR3MPBA_ComputeHeight;
  157.    this.SetComputeHeight=SetR3MPBA_ComputeHeight;
  158.    this.GetBleedX=GetR3MPBA_BleedX;
  159.    this.SetBleedX=SetR3MPBA_BleedX;
  160.    this.GetBleedY=GetR3MPBA_BleedY;
  161.    this.SetBleedY=SetR3MPBA_BleedY;
  162.    this.GetSmoothRadius=GetR3MPBA_SmoothRadius;
  163.    this.SetSmoothRadius=SetR3MPBA_SmoothRadius;
  164. }
  165.  
  166. r3Mpbump.prototype=new r3Mpbitmap;
  167. // r3mpbump.h_H